const getComponent = () => {
  return import(/* webpackChunkName: 'lodash' */ 'lodash').then(({ default: _ }) => {
    const el = document.createElement('div')
    el.innerHTML = _.join(['a', 'b'], '_')

    return el
  })
}

getComponent().then(el => {
  console.log(el)
})